//
//  Item.m
//  trophy
//
//  Created by lienbao on 15/7/28.
//  Copyright (c) 2015年 dingguanyong. All rights reserved.
//

#import "Item.h"

@implementation Item

- (instancetype)initWithContent:(NSDictionary *)content
{
    self = [super init];
    if (self){
        
    }
    return self;
}
- (instancetype)initWithArray:(NSMutableArray *)contentArray
{
    self = [super init];
    if (self) {
        
    }
    return self;
}
-(BOOL)isEmptyString:(NSString *)string
{
    
    if (!string||[string isKindOfClass:[NSNull class]]||string==NULL||string==nil||[[string stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]] length]== 0) {
        return YES;
        
    }else
    {
        return NO;
    }
}
- (BOOL)isEmptyNumber:(NSString *)string
{
    if (!string||[string isKindOfClass:[NSNull class]]||string==NULL||string==nil) {
        return YES;
    }else
    {
        return NO;
    }
}

MJExtensionCodingImplementation
- (BOOL)isempty:(NSString *)string
{
    if ([string isKindOfClass:[NSNull class]]||string==NULL||string==nil) {
        
        return YES;
    }else
    {
        return NO;
    }
}
@end
